package com.joysuch.wwyt.workflow.service;

import com.joysuch.wwyt.core.bean.AuthorityBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import com.joysuch.wwyt.workflow.bean.WorkFlowDocBean;
import com.joysuch.wwyt.workflow.entity.WorkFlowDoc;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface WorkFlowDocService {

    Page<WorkFlowDoc> getDocList(Pageable pageable);

    ResultBean save(WorkFlowDocBean bean);

    void delete(Long id);

    WorkFlowDoc findById(Long id);

    List<AuthorityBean> getDocMenuList();
}
